<?php
include_once './fun.inc.php';
include_once './Model.class.php';

$b=M();

$date['name']="啊啊";
$date['age']=12;
//
//$a=$b->add($date);
//echo $a;
//echo $b->error;

//$a=$b->where("id=1")->save($date);
//echo $a;
var_dump($b->where("num=25")->delete());
var_dump($b->getError(2));


